function show_msg_transfer(_id){
	var all_content = $("#" + _id + "_line [data-type='all_content']").html();
	$("#follow_msg").html("<p>" + all_content + "</p>");
	$("#msg_transfer_dialog").dialog({
		width:400,
		height:300,
		modal:true,
		title:"转发微博"
	});
	$("#msg_transfer_dialog").dialog('open');
	$("#transfer_btn").one("click", function(){
		transfer_msg(_id);
	});
}

function transfer_msg(_id) {
	var content = $("#transfer_content").val();
	content = $.trim(content);
	$.ajax({
		url:'/transferMsg.do',
		data:{transferMsgId:_id,msg:content},
		success:function(data) {
			$("#msg_transfer_dialog").dialog('close');
			if(parseInt(data) == 1) {
				raycloud.util.dialog("dialog",300,200,"提示","转发成功",true);
				setTimeout(function(){
					raycloud.util.closeDialog('dialog');
				}, 1000);
			}else{
				alert(data);
			}
		}
	});
}
